<!DOCTYPE html>
<html>
<head>
	<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no, minimal-ui"/>
	<meta name="apple-mobile-web-app-capable" content="yes"/>
	<meta name="apple-mobile-web-app-status-bar-style" content="black"/>
	<meta name="format-detection" content="telephone=no, email=no"/>
	<meta charset="UTF-8">
	<title>商品列表</title>
	<link rel="stylesheet" href="themes/css/core.css">
	<link rel="stylesheet" href="themes/css/icon.css">
	<link rel="stylesheet" href="themes/css/home.css">
	<link rel="icon" type="image/x-icon" href="favicon.ico">
	<link href="iTunesArtwork@2x.png" sizes="114x114" rel="apple-touch-icon-precomposed">
	<style>
		.aui-header-center-clear{
			/*margin: 0 auto;*/
			width: 80%; 
		}
		
		/*修改上下间距*/
		.aui-list-product-item{
			margin-bottom: 2px;
		}
		.aui-comment{
			width: 45%;
			text-align: right;
			/*background-color: saddlebrown;*/
		}
		.aui-list-product-fl-item{
			padding: 15px 0;
		}		
		/*.price{
			display: block;
		}
		.aui-btn-purchase{
			display: block;
		}*/
		.aui-list-product-fl-mes{
			display: block;	
		}
	</style>

</head>
<body>

	<header class="aui-header-default aui-header-fixed aui-header-bg">
		<a href="javascript:history.back(-1)" class="aui-header-item">
			<i class="aui-icon aui-icon-back-white"></i>
		</a>
		<div class="aui-header-center aui-header-center-clear">
			<div class="aui-header-search-box">
				<i class="aui-icon aui-icon-small-search"></i>
				<input id="aui-header-search" type="text" placeholder="搜索课程" class="aui-header-search">
			</div>
		</div>
	</header>


	<section class="aui-address-content">

	</section>


	<script type="text/javascript" src="themes/js/jquery.min.js"></script>
	<script type="text/javascript" src="themes/js/aui.js"></script>
	<script type="text/javascript" src="themes/js/ajax-util.js"></script>		
	<script type="text/javascript" src="themes/js/Feng.js"></script>	
	<script type="text/javascript" src="themes/plugin/numeral/numeral.min.js"></script>	
	<script type="text/javascript" src="themes/plugin/artTemplate/template.js"></script>	
	<script type="text/javascript" src="themes/plugin/layer/layer.js"></script>
	<script type="text/javascript" src="themes/plugin/lazyload/jquery.lazyload.js"></script>
	<script src="themes/js/common.js"></script>
	<script type="text/javascript" src="static/course/list.js"></script>	
	<script  type="text/html" id="dataTmpl">		
	    {{each}}
				<div class="aui-list-product-float-item">
						<a href="ui-product.html?id={{$value.id}}" class="aui-list-product-fl-item">
							<div class="aui-list-product-fl-img">
								<img class="lazy-load" src="{{$value.picture1 | pictureFormat}}"  
									data-original="{{$value.picture1 | pictureFormat}}" 
									 onerror="this.src='themes/img/pd/course_defult.jpg'"
									alt="">
							</div>
							<div class="aui-list-product-fl-text">
								<h3 class="aui-list-product-fl-title">{{$value.courseName}}</h3>
								<div class="aui-list-product-fl-mes">
									<div class="price">
										{{if $value.activityPrice!==null}}
										<span class="aui-list-product-item-price">
											<em>¥</em>
											<span>{{$value.activityPrice | coursePriceFormat}}</span>
										</span>										
										<span class="aui-list-product-item-del-price">
											¥{{$value.totalPrice | coursePriceFormat}}
										</span>
										{{else}}
										<span class="aui-list-product-item-price">
											<em>¥</em>
											<span>{{$value.totalPrice | coursePriceFormat}}</span>
										</span>
										{{/if}}
									</div>
									
									<div class="aui-btn-purchase">
										<span>讲师：{{$value.teacherMain}}</span>
									</div>
								</div>
							</div>
						</a>
					</div>
				</div>
	    {{/each}}
	</script>
</body>
</html>